str1 = "xiaohei"
str2 = "12332"
int1 = 123
float1 = 12.34
float2 = 12.654
print("字符串转换成数字", int(str2), type(int(str2)))
print("数字转换成字符串", str(int1), type(str(int1)))
# 默认浮点型数据就是带有小数点，转换成浮点数会带有小数
print("整数转换成浮点数", float(int1), type(float(int1)))
print("浮点数转换成整数", int(float1), type(int(float1)))
# 注意浮点数转换成整数会丢失精度，就是会失去小数点后面的数，是失去，不是四舍五入
print("浮点数转换成整数", int(float2), type(int(float2)))

c1 = "牛奶"
c2 = "可乐"
print("现在c1是：", c1, "c2是：", c2)
c3 = c1
c1 = c2
c2 = c3
print("交换后现在c1是：", c1, "c2是：", c2)

print(4/3)
print("ianxas\nkjkx")
print("aosnx"+c1)